package com.xdjd.mobile.system.exception;

import com.gitee.easyopen.exception.ApiException;

/**
 *  token 异常
 * Created by zxl on 2018-08-27
 */
public class TokenException extends ApiException {

	private static final long serialVersionUID = -7581162909970347978L;

	public TokenException(String message) {
		super(message, ErrorId.ERROR_TOKEN.getCode());
	}

	public TokenException() {
		super(ErrorId.ERROR_TOKEN.getMsg(), ErrorId.ERROR_TOKEN.getCode());
	}
}
